package drrr.controller;

/**
 * Created by lirance on 15/5/18.
 * 管理房间
 */
public class RoomManagementAction extends BaseAction {

    private String roomname;
    private String membernum;
    private String roomtype;


    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname;
    }

    public String getMembernum() {
        return membernum;
    }

    public void setMembernum(String membernum) {
        this.membernum = membernum;
    }

    public String getRoomtype() {
        return roomtype;
    }

    public void setRoomtype(String roomtype) {
        this.roomtype = roomtype;
    }

   /*   @Override
  public String execute() throws Exception {
        RoomEntity roomEntity = new RoomEntity();
        int ow = ((UserEntity) ServletActionContext.getContext().getSession().get("user")).getId();
        roomEntity.setMembernum(new Integer(getMembernum()));
        roomEntity.setRoomname(getRoomname());
        roomEntity.setOwner(ow);
        roomEntity.setType(new Integer(getRoomtype()));

        getAllService().getRoomService().insert(roomEntity);
        ServletActionContext.getContext().getSession().put("room", roomEntity);
        return SUCCESS;
    }*/


}
